#{extends 'organization.html' /} 
#{set title:'Followed Topics'/}

#{if numberOfTopics == 0}
<div class = "viewContent">
<h1>You are currently not following any topics. Thank You !</h1>
</div>
#{/if}
#{else}
<div class = "viewContent">
<div>
		#{table followedTopics, as: 'top'}
			#{column 'Topic Name'}<a href="@{Browse.viewTopic(top.id)}" class = "standardLink">${top.name}</a>
			#{/column}
			#{column 'Entity Name'}<a href="@{Browse.viewEntity(top.entity.id)}" class = "standardLink">${top.entity.name}</a>
			#{/column}
			#{column 'Organization Name'}<a href="@{Browse.vieworganization(top.entity.organization.id)}" class = "standardLink">${top.entity.organization.name}</a>
			#{/column}	
			#{column 'Topic Description'}${top.getSummarizedContent()}
			#{/column}		
		#{/table}
	</div>

</div>


#{/else}